package com.bdqn.Practice1.sjlx6.service;

import com.bdqn.Practice1.sjlx6.dao.StudentDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("studentService")
public class StudentServiceImpl implements StudentService {
    @Resource(name = "studentDao")
    private StudentDao studentDao;
    @Override
    public void print() {
        studentDao.print();
    }
    public StudentDao getStudentDao() {
        return studentDao;
    }

    public void setStudentDao(StudentDao studentDao) {
        this.studentDao = studentDao;
    }




}
